function 重启websocket引擎() {
    
    var array = engines.all()
    for (let index = 0; index < array.length; index++) {
        var ele = array[index]
        var eeeee = ele.getSource().toString()
        if (eeeee.indexOf("websocket.js") != -1) {
            ele.forceStop()
        }
    }
    engines.execScriptFile("./websocket.js")
}

// 重启websocket引擎()
var type=function(v){
    return Object.prototype.toString.call(v);
};
// log(type( web.ByteString.decodeBase64("123")))
// log(auto.windows)
var w = floaty.rawWindow(
    <frame gravity="center">
        <text id="text" text="." textSize="10sp"/>
    </frame>
);

w.setPosition(device.width/2,1)
w.setSize(-2, -2);
w.setTouchable(false);

media.playMusic("/sdcard/yes.mp3", 1, true)
setInterval(()=>{

},1000)